<h1>Listing participants</h1>

<table>
  <tr>
    <th>State</th>
  </tr>

<% for participant in @participants %>
  <tr>
    <td><%=h participant.state %></td>
    <td><%= link_to 'Show', participant %></td>
    <td><%= link_to 'Edit', edit_participant_path(participant) %></td>
    <td><%= link_to 'Destroy', participant, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New participant', new_participant_path %>
